#kod-nginx::conf.d/kod.wym.com
server {
    listen 80;
    server_name kod.wym.com;

    location / {
        #转发到kod容器的80端口
        proxy_pass http://kod:80; 	
        #必须指定,默认只能上传1M以内的数据
        client_max_body_size 300M;	
        proxy_set_header Host $http_host;
        proxy_http_version 1.1;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_cache_valid 200 304 240h;
        proxy_cache_valid any 10m;
        add_header Nginx-Cache "$upstream_cache_status";
    }
}
